.class Lcom/example/m6shop/AddLianXiRenActivity$2;
.super Landroid/os/Handler;
.source "AddLianXiRenActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6shop/AddLianXiRenActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6shop/AddLianXiRenActivity;


# direct methods
.method constructor <init>(Lcom/example/m6shop/AddLianXiRenActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6shop/AddLianXiRenActivity$2;->this$0:Lcom/example/m6shop/AddLianXiRenActivity;

    .line 167
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/example/m6shop/AddLianXiRenActivity$2;)Lcom/example/m6shop/AddLianXiRenActivity;
    .locals 1

    .prologue
    .line 167
    iget-object v0, p0, Lcom/example/m6shop/AddLianXiRenActivity$2;->this$0:Lcom/example/m6shop/AddLianXiRenActivity;

    return-object v0
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 6
    .param p1, "msg"    # Landroid/os/Message;

    .prologue
    .line 172
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 173
    iget v3, p1, Landroid/os/Message;->what:I

    packed-switch v3, :pswitch_data_0

    .line 319
    :cond_0
    :goto_0
    return-void

    .line 176
    :pswitch_0
    iget-object v3, p0, Lcom/example/m6shop/AddLianXiRenActivity$2;->this$0:Lcom/example/m6shop/AddLianXiRenActivity;

    # getter for: Lcom/example/m6shop/AddLianXiRenActivity;->tv_keep:Landroid/widget/TextView;
    invoke-static {v3}, Lcom/example/m6shop/AddLianXiRenActivity;->access$4(Lcom/example/m6shop/AddLianXiRenActivity;)Landroid/widget/TextView;

    move-result-object v3

    new-instance v4, Lcom/example/m6shop/AddLianXiRenActivity$2$1;

    invoke-direct {v4, p0}, Lcom/example/m6shop/AddLianXiRenActivity$2$1;-><init>(Lcom/example/m6shop/AddLianXiRenActivity$2;)V

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto :goto_0

    .line 271
    :pswitch_1
    iget-object v3, p0, Lcom/example/m6shop/AddLianXiRenActivity$2;->this$0:Lcom/example/m6shop/AddLianXiRenActivity;

    # getter for: Lcom/example/m6shop/AddLianXiRenActivity;->gethttpsString:Ljava/lang/String;
    invoke-static {v3}, Lcom/example/m6shop/AddLianXiRenActivity;->access$18(Lcom/example/m6shop/AddLianXiRenActivity;)Ljava/lang/String;

    move-result-object v3

    if-eqz v3, :cond_0

    .line 274
    :try_start_0
    new-instance v1, Lorg/json/JSONObject;

    iget-object v3, p0, Lcom/example/m6shop/AddLianXiRenActivity$2;->this$0:Lcom/example/m6shop/AddLianXiRenActivity;

    # getter for: Lcom/example/m6shop/AddLianXiRenActivity;->gethttpsString:Ljava/lang/String;
    invoke-static {v3}, Lcom/example/m6shop/AddLianXiRenActivity;->access$18(Lcom/example/m6shop/AddLianXiRenActivity;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v1, v3}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    .line 276
    .local v1, "jsonObject":Lorg/json/JSONObject;
    const-string v3, "error"

    invoke-virtual {v1, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    const-string v4, "true"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_1

    .line 278
    const-string v3, "msg"

    invoke-virtual {v1, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 279
    .local v2, "string":Ljava/lang/String;
    iget-object v3, p0, Lcom/example/m6shop/AddLianXiRenActivity$2;->this$0:Lcom/example/m6shop/AddLianXiRenActivity;

    # getter for: Lcom/example/m6shop/AddLianXiRenActivity;->mcontext:Landroid/content/Context;
    invoke-static {v3}, Lcom/example/m6shop/AddLianXiRenActivity;->access$13(Lcom/example/m6shop/AddLianXiRenActivity;)Landroid/content/Context;

    move-result-object v3

    const-string v4, "\u63d0\u793a\u4fe1\u606f"

    .line 280
    const-string v5, "msg"

    invoke-virtual {v1, v5}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    .line 279
    invoke-static {v3, v4, v5}, Lmyclass/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 282
    iget-object v3, p0, Lcom/example/m6shop/AddLianXiRenActivity$2;->this$0:Lcom/example/m6shop/AddLianXiRenActivity;

    const/4 v4, 0x1

    invoke-static {v3, v4}, Lcom/example/m6shop/AddLianXiRenActivity;->access$16(Lcom/example/m6shop/AddLianXiRenActivity;Z)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    .line 299
    .end local v1    # "jsonObject":Lorg/json/JSONObject;
    .end local v2    # "string":Ljava/lang/String;
    :catch_0
    move-exception v0

    .line 301
    .local v0, "e":Lorg/json/JSONException;
    invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V

    goto :goto_0

    .line 289
    .end local v0    # "e":Lorg/json/JSONException;
    .restart local v1    # "jsonObject":Lorg/json/JSONObject;
    :cond_1
    :try_start_1
    const-string v3, "msg"

    invoke-virtual {v1, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 291
    .restart local v2    # "string":Ljava/lang/String;
    iget-object v3, p0, Lcom/example/m6shop/AddLianXiRenActivity$2;->this$0:Lcom/example/m6shop/AddLianXiRenActivity;

    # getter for: Lcom/example/m6shop/AddLianXiRenActivity;->mcontext:Landroid/content/Context;
    invoke-static {v3}, Lcom/example/m6shop/AddLianXiRenActivity;->access$13(Lcom/example/m6shop/AddLianXiRenActivity;)Landroid/content/Context;

    move-result-object v3

    const-string v4, "\u63d0\u793a\u4fe1\u606f"

    invoke-static {v3, v4, v2}, Lmyclass/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 294
    iget-object v3, p0, Lcom/example/m6shop/AddLianXiRenActivity$2;->this$0:Lcom/example/m6shop/AddLianXiRenActivity;

    invoke-virtual {v3}, Lcom/example/m6shop/AddLianXiRenActivity;->finish()V
    :try_end_1
    .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_0

    .line 173
    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method
